From bf9c580750a13d1f059a00cc2d41b3f9bfc03d6e Mon Sep 17 00:00:00 2001
From: Hal Emmerich <hal@halemmerich.com>
Date: Sun, 8 Dec 2019 20:03:20 -0600
Subject: [PATCH] use text based developer mode screen

---
 firmware/lib/vboot_api_kernel.c | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/firmware/lib/vboot_api_kernel.c b/firmware/lib/vboot_api_kernel.c
index 02d09ad1..ae2ad1f7 100644
--- a/firmware/lib/vboot_api_kernel.c
+++ b/firmware/lib/vboot_api_kernel.c
@@ -430,17 +430,10 @@ VbError_t VbSelectAndLoadKernel(VbCommonParams *cparams,
 		else
 			retval = VbBootRecovery(&ctx);
 		VbExEcEnteringMode(0, VB_EC_RECOVERY);
-	} else if (ctx.flags & VB2_CONTEXT_DEVELOPER_MODE) {
-		/* Developer boot.  This has UI. */
-		if (kparams->inflags & VB_SALK_INFLAGS_ENABLE_DETACHABLE_UI)
-			retval = VbBootDeveloperMenu(&ctx);
-		else
-			retval = VbBootDeveloper(&ctx);
-		VbExEcEnteringMode(0, VB_EC_DEVELOPER);
 	} else {
-		/* Normal boot */
-		retval = VbBootNormal(&ctx);
-		VbExEcEnteringMode(0, VB_EC_NORMAL);
+		/* Always developer boot */
+		retval = VbBootDeveloper(&ctx);
+		VbExEcEnteringMode(0, VB_EC_DEVELOPER);
 	}
 
  VbSelectAndLoadKernel_exit:
-- 
2.20.1

